$def with (page)

$ title = page.title or page.key

$ _x = ctx.setdefault("cssfile", "edit")

$var title: $title

$:macros.databarTemplate(page)

$:render_template("lib/view_head", page)

<div id="contentBody">
    <div>
        <span class="title">$_("plugin")</span>
        <span class="tag">$page.get("plugin", "upstream")</span>
    </div>
    $:macros.DisplayCode(page.body, lang="html")
</div>